package com.my.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TextController {



  @RequestMapping("/text1")

public String text1(Model
                     model){
 model.addAttribute("text","hello,,,text");
  return "index";
}
}
